import Request from '@/request/config'
import config from '@/config'
const commonApi = {
  getTest: param => Request.get('/demo/getTest', param),
  // 获取行政区划
  getAddressCode: param =>
    Request.get(`${config.upmsCenter}/area/findByPid`, param),
  // 获取全量行政区划
  findSubByIdAndLevel: param =>
    Request.get(`${config.upmsCenter}/area/findSubByIdAndLevel`, param)
}
export default commonApi
